package com.chinanet.entry.netelement;


/**
 * Created by moon on 16/7/26.
 */
public class Attr {

    private String name;//参数名
    private String description;//描述
    private AttrType type;//参数类型
    private boolean isnecessary;//必要参数

    public Attr(String name, String description, AttrType type, boolean isnecessary) {
        this.name = name;
        this.description = description;
        this.type = type;
        this.isnecessary = isnecessary;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public AttrType getType() {
        return type;
    }

    public void setType(AttrType type) {
        this.type = type;
    }

    public boolean isIsnecessary() {
        return isnecessary;
    }

    public void setIsnecessary(boolean isnecessary) {
        this.isnecessary = isnecessary;
    }


}
